#!/bin/bash
if [ $# -ne 0  ] 
then
	for i in $*
	do
	flag=`expr $i % 2`
		if [ ${flag} -eq 0 ] 
		then
			echo "$i是偶数"
		else 
			echo "$i是奇数"
		fi
	done
	
fi

